package net.ericaro.neojavagen.expressions;

/**
 * <b>InitializedDimSpecifier</b> ::= <{@link net .ericaro .neojavagen .classes .Dims Dims}> <{@link net .ericaro .neojavagen .arrays .ArrayInitializer
 * ArrayInitializer}>
 * 
 * @author eric@ericaro.net
 */
public class InitializedDimSpecifier extends net.ericaro.neojavagen.JavaPartComposition {
	private net.ericaro.neojavagen.arrays.ArrayInitializer arrayInitializer;

	private net.ericaro.neojavagen.classes.Dims dims;

	public InitializedDimSpecifier(net.ericaro.neojavagen.classes.Dims dims, net.ericaro.neojavagen.arrays.ArrayInitializer arrayInitializer) {
		super();
		this.dims = dims;
		this.arrayInitializer = arrayInitializer;
	}

	public net.ericaro.neojavagen.arrays.ArrayInitializer getArrayInitializer() {
		return arrayInitializer;
	}

	public net.ericaro.neojavagen.classes.Dims getDims() {
		return dims;
	}

	public void setArrayInitializer(net.ericaro.neojavagen.arrays.ArrayInitializer arrayInitializer) {
		this.arrayInitializer = arrayInitializer;
	}

	public void setDims(net.ericaro.neojavagen.classes.Dims dims) {
		this.dims = dims;
	}

	@Override
	public java.lang.String toString() {
		return print(dims, arrayInitializer);
	}
}
